#pragma once
//============================================================================
// Copyright (C) 2012-2013 Brett R. Jones 
// All Rights Reserved
//
// You may redistribute and/or modify for non commercial and commercial uses 
// provided this copyright notice remains in place and is not modified
//
// This code is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// brettjones1900@gmail.com
// http://www.p2panarchy.com
//============================================================================

#include <VxUtilLib/VxDefs.h>
#include <string>

class SharedFileInfo : public std::string
{
public:
	//=== vars ===//
	S64				m_s64FileLen;
	U32				m_u32Attributes;
	U8				m_u8FileType;

	//=== constructor ===//
	SharedFileInfo();
	//! equal operator
	SharedFileInfo& operator=(const SharedFileInfo& oInfo); 
	SharedFileInfo& operator=(const std::string& str); 
	SharedFileInfo& operator=(const char * str); 
	SharedFileInfo& operator+=(const std::string& str); 
	SharedFileInfo& operator+=(const char * str); 
};